#ifndef STLSCENE_H
#define STLSCENE_H

#include <QWidget>

class StlScene : public QWidget
{
    Q_OBJECT

public:
    explicit StlScene(const QString &filePath, QWidget *parent = nullptr);

protected:
    // reimplementation needed to handle resize events
    // http://doc.qt.io/qt-5/qwidget.html#resizeEvent
    void resizeEvent(QResizeEvent *event);

signals:

public slots:
    void resizeView(QSize size);

private:
    QWidget *container;
};

#endif // STLSCENE_H
